package com.wwwarehouse.usercenter.bean.business_relationship;

import android.os.Parcel;
import android.os.Parcelable;

import java.io.Serializable;
import java.util.List;

/**
 * Created by xiaoke.ni on 2017/10/23.
 */

public class BRCustomerFileListBean implements Serializable {

    /**
     * businessList : [{"buName":"测试内容fc1r","relationUkid":73828,"salesMans":[{"salesManId":11187,"salesManName":"测试内容88na"}],"tags":[{"tagId":68553,"tagName":"测试内容2t66"}]}]
     * page : 54164
     * screeningSalesMans : [{"salesManId":33015,"salesManName":"测试内容779j"}]
     * screeningTags : [{"tagId":65144,"tagName":"测试内容2i23"}]
     * size : 23446
     * total : 53448
     */

    private int page;
    private int size;
    private int total;
    private List<BusinessListBean> businessList;
    private List<ScreeningSalesMansBean> screeningSalesMans;
    private List<ScreeningTagsBean> screeningTags;

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<BusinessListBean> getBusinessList() {
        return businessList;
    }

    public void setBusinessList(List<BusinessListBean> businessList) {
        this.businessList = businessList;
    }

    public List<ScreeningSalesMansBean> getScreeningSalesMans() {
        return screeningSalesMans;
    }

    public void setScreeningSalesMans(List<ScreeningSalesMansBean> screeningSalesMans) {
        this.screeningSalesMans = screeningSalesMans;
    }

    public List<ScreeningTagsBean> getScreeningTags() {
        return screeningTags;
    }

    public void setScreeningTags(List<ScreeningTagsBean> screeningTags) {
        this.screeningTags = screeningTags;
    }

    public static class BusinessListBean implements Parcelable,Serializable {
        /**
         * buName : 测试内容fc1r
         * relationUkid : 73828
         * salesMans : [{"salesManId":11187,"salesManName":"测试内容88na"}]
         * tags : [{"tagId":68553,"tagName":"测试内容2t66"}]
         */

        private String buId;
        private String buName;
        private String relationUkid;
        private List<SalesMansBean> salesMans;
        private List<TagsBean> tags;

        public BusinessListBean() {

        }

        protected BusinessListBean(Parcel in) {
            buId = in.readString();
            buName = in.readString();
            relationUkid = in.readString();
        }

        public static final Creator<BusinessListBean> CREATOR = new Creator<BusinessListBean>() {
            @Override
            public BusinessListBean createFromParcel(Parcel in) {
                return new BusinessListBean(in);
            }

            @Override
            public BusinessListBean[] newArray(int size) {
                return new BusinessListBean[size];
            }
        };

        public String getBuId() {
            return buId;
        }

        public void setBuId(String buId) {
            this.buId = buId;
        }

        public String getBuName() {
            return buName;
        }

        public void setBuName(String buName) {
            this.buName = buName;
        }

        public String getRelationUkid() {
            return relationUkid;
        }

        public void setRelationUkid(String relationUkid) {
            this.relationUkid = relationUkid;
        }

        public List<SalesMansBean> getSalesMans() {
            return salesMans;
        }

        public void setSalesMans(List<SalesMansBean> salesMans) {
            this.salesMans = salesMans;
        }

        public List<TagsBean> getTags() {
            return tags;
        }

        public void setTags(List<TagsBean> tags) {
            this.tags = tags;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(buId);
            dest.writeString(buName);
            dest.writeString(relationUkid);
        }

        public static class SalesMansBean {
            /**
             * salesManId : 11187
             * salesManName : 测试内容88na
             */

            private String salesManId;
            private String salesManName;

            public String getSalesManId() {
                return salesManId;
            }

            public void setSalesManId(String salesManId) {
                this.salesManId = salesManId;
            }

            public String getSalesManName() {
                return salesManName;
            }

            public void setSalesManName(String salesManName) {
                this.salesManName = salesManName;
            }
        }

        public static class TagsBean implements Serializable {
            /**
             * tagId : 68553
             * tagName : 测试内容2t66
             */

            private String tagId;
            private String tagName;

            public String getTagId() {
                return tagId;
            }

            public void setTagId(String tagId) {
                this.tagId = tagId;
            }

            public String getTagName() {
                return tagName;
            }

            public void setTagName(String tagName) {
                this.tagName = tagName;
            }
        }
    }

    public static class ScreeningSalesMansBean implements Serializable {
        /**
         * salesManId : 33015
         * salesManName : 测试内容779j
         */

        private boolean isSelect;
        private String salesManId;
        private String salesManName;

        public String getSalesManId() {
            return salesManId;
        }

        public void setSalesManId(String salesManId) {
            this.salesManId = salesManId;
        }

        public String getSalesManName() {
            return salesManName;
        }

        public void setSalesManName(String salesManName) {
            this.salesManName = salesManName;
        }

        public boolean isSelect() {
            return isSelect;
        }

        public void setSelect(boolean select) {
            isSelect = select;
        }
    }

    public static class ScreeningTagsBean implements Serializable{
        /**
         * tagId : 65144
         * tagName : 测试内容2i23
         */

        private boolean isSelect;
        private String tagId;
        private String tagName;

        public String getTagId() {
            return tagId;
        }

        public void setTagId(String tagId) {
            this.tagId = tagId;
        }

        public String getTagName() {
            return tagName;
        }

        public void setTagName(String tagName) {
            this.tagName = tagName;
        }

        public boolean isSelect() {
            return isSelect;
        }

        public void setSelect(boolean select) {
            isSelect = select;
        }
    }
}
